home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 47
/
MOBICLIC 47.ISO
/
mac
/
DATA
/
COMMUNS
/
MOBICLIC_MENUS.CST
/
00074_Script_GESTION_COIN_VERT_STANDARD
< prev
next >
Wrap
Text File
|
2002-09-19
|
1KB
|
48 lines
global validMHD, menusActifs, menuOuvert, pisteMenuHD, pisteCoinHD, ouvreMenuHD, fermeMenuHD, menuFermeHD
global gFlagMagic, gFlag_hideWindows
------------------------------
on beginSprite
pisteCoinHD = the currentSpriteNum
end
----------------------------------
on mouseUp
if the pauseState = 1 then exit
case(gFlagMagic) of
0, VOID:--Θquerres Bernard
if menusActifs=1 and menuOuvert=0 then
cursor 280
ouvreMenuHD=1
menuFermeHD=0
sprite(pisteMenuHD).memberNum = member("menuHD").number
sprite(pisteMenuHD).rect = rect(542,0,640,450)
afficherPistes pisteMenuHD
updateStage
menuOuvert = "HD"
hide_zevideo()
if gFlag_hideWindows <> VOID then hide_window()
put " Ouverture Θquerre Verte"
end if
1:--Θquerres JLM
cursor 280
manage_magicWindow("GREEN","STD")
put " Ouverture Θquerre magique Verte"
end case
end
-------------------------
on mouseEnter
if menusActifs=1 then
equerre pisteCoinHD
end if
end
---------------------------
on mouseLeave
if the pauseState=0 then
if rollOver(pisteMenuHD)=0 then
cursor -1
menuOuvert = 0
fermeMenuHD=1
end if
end if
end
----------------------------